﻿using System;
using KingsSharp.Core.Data;

namespace CRM.Admin.Contracts.Dto.Sys
{
    public class DictionaryDto : IAddDto, IEditDto<Guid>
    {
        /// <summary>
        /// 字典主键ID
        /// </summary>
        public Guid Id { get; set; }

        /// <summary>
        /// 字典名称
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// 排序号
        /// </summary>
        public int Order { get; set; }

        /// <summary>
        /// 类别描述
        /// </summary>
        public string Description { get; set; }

        /// <summary>
        /// 父ID
        /// </summary>
        public Guid? Pid { get; set; }

        /// <summary>
        /// 父类别名称
        /// </summary>
        public string PName { get; set; }

    }
}
